package com.xoa.service.attendance.rule;

import com.xoa.model.attendance.AttendRule;
import com.xoa.util.ToJson;
import org.springframework.stereotype.Service;


public interface AttendRuleService {

    //获取主页数据
    ToJson getAttendRule();

    //新增免签节假日
    public ToJson insertAttendRule(AttendRule attendRule);

    //获取编辑数据
    public ToJson getAttendRuleById(Integer id);

    //编辑
    public ToJson updateAttendRule(AttendRule attendRule);

    //删除
    public ToJson deleteAttendRule(Integer id);

}
